﻿#ifndef CItemDetailDlg_H
#define CItemDetailDlg_H
/********************************************************************************
** @ Date:2024/04/23
** @ Author: HanJiaXin
** @ Description:查看传感器巡检项执行记录详情对话框
** @ Version:1.0.0
** @ ClassName:CItemDetailDlg
** @ Fun:
********************************************************************************/

#include <QDialog>
#include "ui_CItemDetailDlg.h"

class CItemDetailDlg : public QDialog
{
	Q_OBJECT

public:
	CItemDetailDlg(QString sItemExecGuid,QString ItemName,QString sPointName,QWidget *parent = nullptr);
	~CItemDetailDlg();

private:
	void setStyleSheetFile();   //设置样式文件
	void queryItem();			//查询任务详情

private:
	Ui::CItemDetailDlgClass ui;
	QString m_sItemExecGuid;
	QString m_sItemName;
	QString m_sPointName;
	QMap<int, QString> m_mapUnit;//各个巡检项对应的单位
};
#endif // !CItemDetailDlg_H